package cc.eddic.examinationsystem.dto;

import lombok.*;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class DemoCheckBoxModel {
    private List<String> selectedCities = new ArrayList<>();

    private List<CityModel> cities = Arrays.asList(
            new CityModel("210202", "中山区"),
            new CityModel("210203", "西岗区"),
            new CityModel("210204", "沙河口区"),
            new CityModel("210211", "甘井子区"),
            new CityModel("210212", "旅顺口区"),
            new CityModel("210213", "金州区"),
            new CityModel("210214", "普兰店区"),
            new CityModel("210224", "长海县"),
            new CityModel("210281", "瓦房店市"),
            new CityModel("210283", "庄河市")
    );

    @ToString
    @Getter
    @AllArgsConstructor
    public static class CityModel {
        private String code;
        private String name;
    }
}
